@mixin theme1 {
  .chatBox {
    height: 75%;
    overflow-y: auto;

    .chat-item {
      padding: 0 11px 11px 11px;

      .time {
        color: #737373;
        font-size: 14px;
        text-align: center;
        margin: 25px 0 10px 0;
        word-break: break-all;
      }

      .line1 {
        position: relative;

        .photo {
          display: inline-block;
          width: 30px;
          height: 30px;
          border-radius: 50%;
          overflow: hidden;

          img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
          }
        }

        .name {
          position: relative;
          line-height: 30px;
          margin: 0 10px;
          color: #2d2d2d;
          font-size: 14px;
        }

        .cerName {
          font-size: 12px;
          color: #666;
          line-height: 30px;
        }
      }

      .line2 {
        display: inline-block;
        color: #333;
        font-size: 14px;
        line-height: 22px;
        padding: 6px 10px;
        max-width: 700px;
        position: relative;
        border-radius: 0 4px 4px 4px;
        word-break: break-all;

        &:before {
          display: inline-block;
          content: "";
          width: 12px;
          height: 7px;
          position: absolute;
          top: -6px;
        }

        .content {
          font-size: 14px;
          color: #333;
          line-height: 22px;
        }

        .reply {
          display: block;
          background: #fff;
          color: #5b5b5b;
          font-size: 12px;
          padding: 3px 5px 5px 5px;
          border-radius: 2px;
          margin: 10px 0 5px 0;

          .replyName {
            color: #5a9df7;
          }

          .replytime {
            color: #737373;
            font-size: 12px;
          }
        }
      }

      &.teacher .line2 {
        background: #d7e4f6;
        margin-left: 45px;
      }

      &.teacher .cerName {
        display: inline;
      }

      &.teacher .line2:before {
        left: -5px;

        background: url($PIC_URL + "/tlbypcWeb/advisor/blue.png") no-repeat;
        background-size: 12px 7px;
      }

      &.user .line2:before {
        right: -5px;
        background: url($PIC_URL + "/tlbypcWeb/advisor/yellow.png") no-repeat;
        background-size: 12px 7px;
      }

      &.user .line2 {
        background: #fee4c2;
        float: right;
        margin-right: 45px;
      }

      &.teacher .line1 {
        .photo {
          float: left;
        }

        .name {
          float: left;
        }
      }

      &.user .line1 {
        .photo {
          float: right;
        }

        .name {
          float: right;
        }
      }
    }
  }

  .replyBox {
    min-height: 78px;
    height: 19%;
    position: relative;

    .toDown {
      position: absolute;
      right: 0;
      top: -36px;
      display: inline-block;
      background-color: #226A90;

      cursor: pointer;
      line-height: 26px;
      font-size: 12px;
      font-weight: 400;
      color: #fff;
      border-radius: 4px 0px 0px 4px;
      padding: 0 26px 0 10px;
    }

    textarea {
      resize: none;
      min-height: 39px;
      padding: 0 10px;
      line-height: 39px;
      font-size: 14px;
      font-weight: 400;
      color: #333333;
      height: 71%;
      border: 1px solid #e1e1e1;

      &::placeholder {
        color: #999999;
      }
    }

    .toolBox {
      height: 39px;
      justify-content: space-between;
      flex-flow: row;
      position: relative;

      .stockList-items {
        position: absolute;
        background: #fff;
        width: 305px;
        color: #333;
        border: 2px solid #393a3e;
        cursor: pointer;

        .stockList-item {
          transition: 0.15s all;
          font-size: 14px;

          .cell {
            height: 45px;
            line-height: 45px;
            width: 80px;
            text-align: center;
            float: left;

            &.cell1 {
              width: 50px;
            }

            &.cell4 {
              width: 90px;
            }
          }

          &:hover {
            background: #393a3e;
            color: #fff;
          }
        }

        &.top {
          bottom: 39px;
        }
      }

      input {
        width: 146px;
        height: 24px;
        border: 1px solid #e6e6e6;
        margin: 7px 10px;
        font-size: 12px;
        color: #333333;
        font-weight: 400px;
        line-height: 24px;
        padding: 0 3px;

        &::placeholder {
          color: #999999;
        }
      }

      .submit {
        line-height: 39px;
        flex: 1;
        font-size: 12px;
        font-weight: 400;
        color: #8e8e8e;

        span {
          display: inline-block;
          width: 48px;
          height: 25px;
          border-radius: 4px;
          background: #c8161d;
          color: #fff;
          font-size: 14px;
          font-weight: 400;
          line-height: 25px;
          text-align: center;
          margin: 0 10px;
          cursor: pointer;
        }
      }
    }
  }

  .searchStock {
    position: relative;
    display: inline-block;

    input {
      width: 146px;
      height: 24px;
      line-height: 24px;
      border: 1px solid rgba(230, 230, 230, 1);
      padding: 5px;
      font-size: 12px;

      &::-webkit-input-placeholder {
        color: #999999;
      }

      &input:-moz-placeholder {
        color: #999999;
      }

      &input:-ms-input-placeholder {
        color: #999999;
      }
    }

    .stockList-items {
      position: absolute;
      background: #fff;
      width: 305px;
      color: #333;
      border: 2px solid #393a3e;
      cursor: pointer;

      .stockList-item {
        transition: 0.15s all;

        .cell {
          height: 45px;
          line-height: 45px;
          width: 80px;
          text-align: center;
          float: left;

          &.cell1 {
            width: 50px;
          }

          &.cell4 {
            width: 90px;
          }
        }

        &:hover {
          background: #393a3e;
          color: #fff;
        }
      }

      &.top {
        bottom: 40px;
      }
    }
  }
}